<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	img{
		width: 260px;
		height: 110px;
	}

</style>
</head>
<body>
<h2>${msg }</h2>
<form  action="<%=basePath %>/ImagesController/add.do"  method="post" enctype="multipart/form-data">  

<table border="1">
	<tr>
		<td>标题</td>
		<td><input type="text" name="title"></td>
	<tr>
		<td>斗图上传</td>
		<td><input type="file" name="fileImg"  multiple="multiple"></td>
	</tr>
	<tr>
		<td colspan="2"><button type="submit">提交</button></td>
	</tr>
</table>
</form>
</body>
</html>